package com.example.team.service;

import com.example.team.entity.Leaves;

import java.util.List;

/***
 * 编写者：王轩
 * 时间：2023/10/30
 */
public interface ILeavesService {
    //添加
    int insertLeaves(Leaves leaves);
    //删除
    int deleteLeaves(Leaves leaves);
    //更改
    int updateLeaves(Leaves leaves);
    //查询所有表格
    List<Leaves> getAllLeaves(Leaves leaves);
    Leaves getLeaves(Leaves leaves);
    int insterApprover(Leaves leaves);
}
